package com.example.campusrear.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
@Data
public class Activity implements Serializable {
    @TableId
    private Long activityId;

    private String activityName;

    private String location;



    private String content;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String sort;

    /**
     * 可报名人数
     *
     * @mbg.generated
     */
    private Integer activityNum;

    /**
     * 活动图片
     *
     * @mbg.generated
     */
    private String activityImg;

    /**
     * 已报名人数
     *
     * @mbg.generated
     */
    private Integer regNum;

    /**
     * 剩余人数
     *
     * @mbg.generated
     */
    private Integer currentNum;
}